<script>
	export default {
		globalData: {
			baseUrl: "https://rabbit.jiujingwulian.com/",
			appid: "wxbbb50dd57a1bdaa4", //微信公众号 appid wxbbb50dd57a1bdaa4
			link: "https://rabbit.jiujingwulian.com/h5/#/pages/index/index", //微信授权登录回调地址
		},
		onLaunch: function() {
			console.log('App Launch');
			
			// //测试token 正式隐藏
			// uni.setStorageSync("token", "5c178093-43dd-4f12-83ad-f995271b44a7");
			// //缓存用户身份
			// uni.setStorageSync("role", '1');
			// //缓存桌位号
			// uni.setStorageSync("invite_code", 'dqbmw2');
			
			var script = document.createElement("script");
			script.type = "text/javascript";
			script.src = "https://gw.alipayobjects.com/as/g/h5-lib/alipayjsapi/3.1.1/alipayjsapi.min.js";
			document.body.appendChild(script);
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	@import url("@/common/main.css");
	/*每个页面公共css */
	page {
		width: 100%;
		height: 100%;
		background-color: #F5F5F5;
		box-sizing: border-box;
	}
	view {
		box-sizing: border-box;
	}
</style>
